/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package log;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import org.apache.log4j.PropertyConfigurator;

/**
 *
 * @author Leandro
 */
public class ExpertoLog {

    public static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger("ExpertoLog") ;

   



       public static void initializeLogger(String propFile) {
        Properties logProperties = new Properties();

//        try {
            // load our log4j properties / configuration file
//            logProperties.load(new FileInputStream(propFile));
            PropertyConfigurator.configure(propFile);

//        } catch (IOException e) {
//            throw new RuntimeException("Unable to load logging property " + propFile);
//
//        }
    }
}


